home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Freeware / Miro 1.0 / Miro_Installer.exe / xulrunner / chrome / toolkit.jar / content / global / xul.css < prev   
Encoding:
Cascading Style Sheet File  |  2006-01-10  |  21.8 KB  |  985 lines

  1. /** this should only contain XUL dialog and document window widget defaults. Defaults for widgets of
  2.     a particular application should be in that application's style sheet.
  3.     For example style definitions for navigator can be found in navigator.css
  4.  
  5.    THIS FILE IS LOCKED DOWN.  YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR
  6.    CHANGES REVIEWED BY mconnor@steelgryphon.com
  7. **/
  8.  
  9. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
  10. @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
  11. @namespace xbl url("http://www.mozilla.org/xbl"); /* namespace for XBL elements */
  12.  
  13. * {
  14.   -moz-user-focus: ignore;
  15.   -moz-user-select: -moz-none;
  16.   display: -moz-box;
  17. }
  18.  
  19. /* hide the content and destroy the frame */
  20. *[hidden="true"] {
  21.   display: none;
  22. }
  23.  
  24. /* hide the content, but don't destroy the frames */
  25. *[collapsed="true"], 
  26. *[moz-collapsed="true"] {
  27.   visibility: collapse;
  28. }
  29.  
  30.  
  31. /* ::::::::::
  32.    :: Rules for 'hiding' portions of the chrome for special
  33.    :: kinds of windows (not JUST browser windows) with toolbars
  34.    ::::: */
  35.  
  36. window[chromehidden~="menubar"] .chromeclass-menubar,
  37. window[chromehidden~="directories"] .chromeclass-directories,
  38. window[chromehidden~="status"] .chromeclass-status,
  39. window[chromehidden~="extrachrome"] .chromeclass-extrachrome,
  40. window[chromehidden~="location"] .chromeclass-location,
  41. window[chromehidden~="location"][chromehidden~="toolbar"] .chromeclass-toolbar,
  42. window[chromehidden~="toolbar"] .chromeclass-toolbar-additional
  43. {
  44.   display: none;
  45. }
  46.  
  47. /* ::::::::::
  48.    :: Rules for forcing direction for entry and display of URIs
  49.    :: or URI elements
  50.    ::::: */
  51.  
  52. textbox.uri-element,
  53. menulist.uri-element
  54. {
  55.   direction: ltr !important;
  56. }
  57.  
  58. /****** elements that have no visual representation ******/
  59.  
  60. script, data,
  61. xbl|children,
  62. commands, commandset, command,
  63. broadcasterset, broadcaster, observes,
  64. keyset, key, toolbarpalette, toolbarset,
  65. template, rule, conditions, action, 
  66. bindings, binding, content, member, triple,
  67. treechildren, treeitem, treeseparator, treerow, treecell {
  68.   display: none;
  69. }
  70.  
  71. /********** focus rules **********/
  72.  
  73. button,
  74. checkbox,
  75. colorpicker[type="button"],
  76. menulist,
  77. radiogroup,
  78. tree,
  79. browser,
  80. editor,
  81. iframe {
  82.   -moz-user-focus: normal;
  83. }
  84.  
  85. menulist[editable] {
  86.   -moz-user-focus: ignore;
  87. }
  88.  
  89. /******** window & page ******/
  90.  
  91. window, 
  92. page {
  93.   overflow: -moz-hidden-unscrollable;
  94.   -moz-box-orient: vertical;
  95. }
  96.  
  97. /******** box *******/
  98.  
  99. vbox {
  100.   -moz-box-orient: vertical;
  101. }
  102.  
  103. bbox {
  104.   -moz-box-align: baseline;
  105. }
  106.  
  107. /********** button **********/
  108.  
  109. button {
  110.   -moz-binding: url("chrome://global/content/bindings/button.xml#button");
  111. }
  112.  
  113. button[type="menu"] {
  114.   -moz-binding: url("chrome://global/content/bindings/button.xml#menu");
  115. }
  116.  
  117. button[type="menu-button"] {
  118.   -moz-binding: url("chrome://global/content/bindings/button.xml#menu-button");
  119. }
  120.  
  121. /********** toolbarbutton **********/
  122.  
  123. toolbarbutton {
  124.   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
  125. }
  126.  
  127. toolbarbutton[type="menu"] {
  128.   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu");
  129. }
  130.  
  131. toolbarbutton[orient] {
  132.   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu-orient");
  133. }
  134.  
  135. toolbarbutton[type="menu-button"] {
  136.   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu-button");
  137. }
  138.  
  139. dropmarker[type="menu-button"] {
  140.   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#dropmarker");
  141. }
  142.  
  143. /******** browser, editor, iframe ********/
  144.  
  145. browser,
  146. editor,
  147. iframe {
  148.   display: inline;
  149. }
  150.  
  151. browser {
  152.   -moz-binding: url("chrome://global/content/bindings/browser.xml#browser");
  153. }
  154.  
  155. browsermessage {
  156.   -moz-binding: url("chrome://global/content/bindings/browser.xml#browsermessage"); 
  157. }
  158.  
  159. tabbrowser {
  160.   -moz-binding: url("chrome://global/content/bindings/tabbrowser.xml#tabbrowser");
  161. }
  162.  
  163. editor {
  164.   -moz-binding: url("chrome://global/content/bindings/editor.xml#editor");
  165. }
  166.  
  167. iframe {
  168.   -moz-binding: url("chrome://global/content/bindings/general.xml#iframe");
  169. }
  170.  
  171. /********** image **********/
  172.  
  173. image {
  174.   -moz-binding: url("chrome://global/content/bindings/general.xml#image");
  175. }
  176.  
  177. /********** checkbox **********/
  178.  
  179. checkbox {
  180.   -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox");
  181. }
  182.  
  183. /********** radio **********/
  184.  
  185. radiogroup {
  186.   -moz-binding: url("chrome://global/content/bindings/radio.xml#radiogroup");
  187.   -moz-box-orient: vertical;
  188. }
  189.  
  190. radio {
  191.   -moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
  192. }
  193.  
  194. /******** groupbox *********/
  195.  
  196. groupbox {
  197.   -moz-binding: url("chrome://global/content/bindings/groupbox.xml#groupbox");
  198.   display: -moz-groupbox;
  199. }
  200.  
  201. caption {
  202.   -moz-binding: url("chrome://global/content/bindings/groupbox.xml#caption");
  203. }
  204.  
  205. .groupbox-body {
  206.   -moz-box-pack: inherit;
  207.   -moz-box-align: inherit;
  208.   -moz-box-orient: vertical;
  209. }
  210.  
  211. /******* toolbar *******/
  212.  
  213. toolbox { 
  214.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbox");
  215.   -moz-box-orient: vertical;
  216. }
  217.   
  218. toolbar {
  219.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
  220. }
  221.  
  222.  
  223. toolbarseparator {
  224.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
  225. }
  226.  
  227. toolbarspacer {
  228.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
  229.   display: inline;
  230. }
  231.  
  232. toolbarspring {
  233.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
  234.   -moz-box-flex: 1000;
  235.   display: inline;
  236. }
  237.  
  238. toolbarpaletteitem {
  239.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem");
  240. }
  241.  
  242. toolbarpaletteitem[place="palette"] {
  243.   -moz-box-orient: vertical;
  244.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem-palette");
  245. }
  246.  
  247. /********* menubar ***********/
  248.  
  249. menubar {
  250.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
  251. }
  252.  
  253. /********* menu ***********/
  254.  
  255. menubar > menu {
  256.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-menubar");
  257. }
  258.  
  259. menubar > menu.menu-iconic {
  260.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-menubar-iconic");
  261. }
  262.  
  263. menu {
  264.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menu");
  265. }
  266.   
  267. menu.menu-iconic {
  268.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-iconic");
  269. }
  270.  
  271. menu:empty {
  272.   visibility: collapse;
  273. }
  274.  
  275. /********* menuitem ***********/
  276.  
  277. menuitem {
  278.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem");
  279. }
  280.  
  281. menuitem.menuitem-iconic {
  282.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
  283. }
  284.  
  285. menuitem[description] {
  286.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic-desc-noaccel");
  287. }
  288.  
  289. menuitem[type="checkbox"],
  290. menuitem[type="radio"] {
  291.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
  292. }
  293.  
  294. menuitem.menuitem-non-iconic {
  295.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menubutton-item");
  296. }
  297.  
  298. /********* menuseparator ***********/
  299.  
  300. menuseparator {
  301.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuseparator");
  302. }
  303.  
  304. /********* popup & menupopup ***********/
  305.  
  306. /* <popup> is deprecated.  Only <menupopup> and <tooltip> are still valid. */ 
  307.  
  308. popup,
  309. menupopup {
  310.   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup");
  311.   -moz-box-orient: vertical;
  312.   display: none;
  313. }
  314.  
  315. popup,
  316. menupopup,
  317. tooltip {
  318.   z-index: 2147483647; 
  319. }
  320.  
  321. menupopup[menugenerated="true"],
  322. popup[menugenerated="true"],
  323. tooltip[menugenerated="true"] {
  324.   display: -moz-popup;
  325. }
  326.  
  327. tooltip {
  328.   -moz-binding: url("chrome://global/content/bindings/popup.xml#tooltip");
  329.   display: -moz-popup;
  330.   margin-top: 21px;
  331. }
  332.  
  333. window[sizemode="maximized"] statusbarpanel.statusbar-resizerpanel {
  334.   visibility: collapse;
  335. }
  336.  
  337. /********** floating popups **********/
  338.  
  339. /*
  340. titlebar {
  341.   -moz-binding: url("chrome://global/content/bindings/popup.xml#titlebar");  
  342. }  
  343.  
  344. resizer[resizerdirection="right"] {
  345.   -moz-binding: url("chrome://global/content/bindings/popup.xml#ew-resizer");
  346. }  
  347.  
  348. resizer[resizerdirection="bottom"] {
  349.   -moz-binding: url("chrome://global/content/bindings/popup.xml#ns-resizer");
  350. }  
  351.  
  352. resizer[resizerdirection="bottomright"] {
  353.   -moz-binding: url("chrome://global/content/bindings/popup.xml#diag-resizer");  
  354. }  
  355.  
  356. floatingwindow {
  357.   -moz-binding: url("chrome://global/content/bindings/popup.xml#floater-normal");
  358.   -moz-box-orient: vertical;
  359.   display: none;
  360.   z-index: 2147483647; 
  361. }
  362.  
  363. floatingwindow[docked="left"] {
  364.   -moz-binding: url("chrome://global/content/bindings/popup.xml#floater-dock-left");
  365. }
  366.  
  367. button.popupClose {
  368.   -moz-binding: url("chrome://global/content/bindings/popup.xml#close-button") !important;
  369. }  
  370. */
  371. /******** grid **********/
  372.  
  373. grid {
  374.   display: -moz-grid;
  375. }
  376.  
  377. rows, 
  378. columns {
  379.   display: -moz-grid-group;
  380. }
  381.  
  382. row,
  383. column {
  384.   display: -moz-grid-line;
  385. }
  386.  
  387. rows {
  388.   -moz-box-orient: vertical;
  389. }
  390.  
  391. column {
  392.   -moz-box-orient: vertical;
  393. }
  394.  
  395. /******** listbox **********/
  396.  
  397. listbox {
  398.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listbox");
  399. }
  400.  
  401. listcols, listcol {
  402.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listbox-base");
  403. }
  404.  
  405. listhead {
  406.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listhead");
  407. }
  408.  
  409. listrows {
  410.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listrows");
  411. }
  412.  
  413. listitem {
  414.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem");
  415. }
  416.  
  417. listitem[type="checkbox"] {
  418.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-checkbox");
  419. }
  420.  
  421. listheader {
  422.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listheader");
  423.   -moz-box-ordinal-group: 2147483646;
  424. }
  425.  
  426. listcell {
  427.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell");
  428. }
  429.  
  430. listcell[type="checkbox"] {
  431.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-checkbox");
  432. }
  433.  
  434. .listitem-iconic {
  435.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-iconic");
  436. }
  437.  
  438. listitem[type="checkbox"].listitem-iconic {
  439.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-checkbox-iconic");
  440. }
  441.  
  442. .listcell-iconic {
  443.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-iconic");
  444. }
  445.  
  446. listcell[type="checkbox"].listcell-iconic {
  447.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-checkbox-iconic");
  448. }
  449.  
  450. listbox {
  451.   display: -moz-grid;
  452. }
  453.  
  454. listbox[rows] {
  455.   height: auto;
  456. }
  457.  
  458. listcols, listhead, listrows, listboxbody {
  459.   display: -moz-grid-group;
  460. }
  461.  
  462. listcol, listitem, listheaditem {
  463.   display: -moz-grid-line;
  464. }
  465.  
  466. listbox {
  467.   -moz-user-focus: normal;
  468.   -moz-box-orient: vertical;
  469.   min-width: 0px;
  470.   min-height: 0px;
  471.   width: 200px;
  472.   height: 200px;
  473. }
  474.  
  475. listhead {
  476.   -moz-box-orient: vertical;
  477. }
  478.  
  479. listrows {
  480.   -moz-box-orient: vertical;
  481.   -moz-box-flex: 1;
  482. }
  483.  
  484. listboxbody {
  485.   -moz-box-orient: vertical;
  486.   -moz-box-flex: 1;
  487.   /* Don't permit a horizontal scrollbar. See bug 285449 */
  488.   overflow-x: hidden !important;
  489.   overflow-y: auto;
  490.   min-height: 0px;
  491. }
  492.  
  493. listcol {
  494.   -moz-box-orient: vertical;
  495.   min-width: 16px;
  496. }
  497.  
  498. listcell {
  499.   -moz-box-align: center;
  500. }
  501.  
  502. /******** tree ******/
  503.  
  504. tree {
  505.   -moz-binding: url("chrome://global/content/bindings/tree.xml#tree");
  506. }
  507.  
  508. treecols {
  509.   -moz-binding: url("chrome://global/content/bindings/tree.xml#treecols");
  510. }
  511.  
  512. treecol {
  513.   -moz-binding: url("chrome://global/content/bindings/tree.xml#treecol");
  514.   -moz-box-ordinal-group: 2147483646;
  515. }
  516.  
  517. treecol.treecol-image {
  518.   -moz-binding: url("chrome://global/content/bindings/tree.xml#treecol-image");
  519. }
  520.  
  521. tree > treechildren {
  522.   display: -moz-box;
  523.   -moz-binding: url("chrome://global/content/bindings/tree.xml#treebody");
  524.   -moz-user-select: none;
  525.   -moz-box-flex: 1;
  526. }
  527.  
  528. treerows {
  529.   -moz-binding: url("chrome://global/content/bindings/tree.xml#treerows");
  530. }
  531.  
  532. treecolpicker {
  533.   -moz-binding: url("chrome://global/content/bindings/tree.xml#columnpicker");
  534. }
  535.  
  536. tree {
  537.   -moz-box-orient: vertical;
  538.   -moz-user-select: none;
  539.   min-width: 0px;
  540.   min-height: 0px;
  541.   width: 10px;
  542.   height: 10px;
  543. }
  544.  
  545. tree[hidecolumnpicker="true"] > treecols > treecolpicker {
  546.   display: none;
  547. }
  548.  
  549. treecol {
  550.   min-width: 16px;
  551. }
  552.  
  553. treecol[hidden="true"] {
  554.   visibility: collapse;
  555.   display: -moz-box;
  556. }
  557.  
  558. /********** deck & stack *********/
  559.  
  560. deck {
  561.   display: -moz-deck;
  562.   -moz-binding: url("chrome://global/content/bindings/general.xml#deck");
  563. }
  564.  
  565. stack, bulletinboard {
  566.   display: -moz-stack;
  567. }
  568.  
  569. /********** tabbox *********/
  570.  
  571. tabbox {
  572.   -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabbox");
  573.   -moz-box-orient: vertical;
  574. }
  575.  
  576. tabs {
  577.   -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabs");
  578.   -moz-box-orient: horizontal;
  579. }
  580.  
  581. tabs[closebutton="true"] {
  582.   -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabs-closebutton");
  583. }
  584.  
  585. tab {
  586.   -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tab");
  587.   -moz-box-align: center;
  588.   -moz-box-pack: center;
  589. }
  590.  
  591. tabpanels {
  592.   -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabpanels");
  593.   display: -moz-deck;
  594. }
  595.  
  596. /********** progressmeter **********/
  597.  
  598. progressmeter {
  599.   -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter");
  600. }
  601.  
  602. /********** basic rule for anonymous content that needs to pass box properties through
  603.  ********** to an insertion point parent that holds the real kids **************/
  604.  
  605.  .box-inherit {
  606.    -moz-box-orient: inherit;
  607.    -moz-box-pack: inherit;
  608.    -moz-box-align: inherit;
  609.    -moz-box-direction: inherit;
  610. }
  611.  
  612. /********** label **********/
  613.  
  614. spacer {
  615.   display: inline;
  616. }
  617.  
  618. description {
  619.   -moz-binding: url("chrome://global/content/bindings/text.xml#text-base");
  620. }
  621.  
  622. label {
  623.   -moz-binding: url("chrome://global/content/bindings/text.xml#text-label");
  624. }
  625.  
  626. label.text-link, label[onclick] {
  627.   -moz-binding: url("chrome://global/content/bindings/text.xml#text-link");
  628.   -moz-user-focus: normal;
  629. }
  630.  
  631. label[control], label.radio-label, label.checkbox-label {
  632.   -moz-binding: url("chrome://global/content/bindings/text.xml#label-control");
  633. }
  634.  
  635. html|span.accesskey {
  636.   text-decoration: underline;
  637. }
  638.  
  639. /********** textbox **********/
  640.  
  641. textbox {
  642.   -moz-binding: url("chrome://global/content/bindings/textbox.xml#textbox");
  643.   -moz-user-select: text;
  644. }
  645.  
  646. textbox[multiline="true"] {
  647.   -moz-binding: url("chrome://global/content/bindings/textbox.xml#textarea");
  648. }
  649.  
  650. html|*.textbox-input {
  651.   -moz-appearance: none !important;
  652.   text-align: inherit;
  653. }
  654.  
  655. html|*.textbox-textarea {
  656.   -moz-appearance: none !important;
  657. }
  658.  
  659. .textbox-input-box {
  660.   -moz-binding: url("chrome://global/content/bindings/textbox.xml#input-box");
  661. }
  662.  
  663. textbox[type="timed"] {
  664.   -moz-binding: url("chrome://global/content/bindings/textbox.xml#timed-textbox");
  665. }
  666.  
  667. /********** autocomplete textbox **********/
  668.  
  669. /* thunderbird and Nvu don't use the new toolkit's autocomplete widget yet.... */
  670.  
  671.  
  672.  
  673. textbox[type="autocomplete"] {
  674.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete");
  675. }
  676.  
  677. popup[type="autocomplete"] {
  678.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-result-popup");
  679.   display: -moz-popup !important;
  680. }
  681.  
  682. .autocomplete-tree {
  683.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-tree");
  684. }
  685.  
  686. .autocomplete-treebody {
  687.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-treebody");
  688. }
  689.  
  690. .autocomplete-treerows {
  691.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-treerows");
  692. }
  693.  
  694. .autocomplete-history-dropmarker {
  695.   display: none;
  696. }
  697.  
  698. .autocomplete-history-dropmarker[enablehistory="true"] {
  699.   display: -moz-box;
  700.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#history-dropmarker");
  701. }
  702.  
  703.  
  704.  
  705.  
  706. /* the C++ implementation of widgets is too eager to make popups visible.
  707.    this causes problems (bug 120155 and others), thus this workaround: */
  708. popup[type="autocomplete"][hidden="true"] {
  709.   visibility: hidden;
  710. }
  711.  
  712. /* The following rule is here to fix bug 96899 (and now 117952).  
  713.    Somehow trees create a situation
  714.    in which a popupset flows itself as if its popup child is directly within it
  715.    instead of the placeholder child that should actually be inside the popupset.
  716.    This is a stopgap measure, and it does not address the real bug.  */
  717. .autocomplete-result-popupset {
  718.   max-width: 0px;
  719.   width: 0 !important;
  720. }
  721.  
  722. /********** colorpicker **********/
  723.  
  724. colorpicker {
  725.   -moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpicker");
  726. }
  727.  
  728. colorpicker[type="button"] {
  729.   -moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpicker-button");
  730. }
  731.  
  732. .colorpickertile {
  733.   -moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpickertile");
  734. }
  735.  
  736. /********** menulist **********/
  737.  
  738. menulist {
  739.   -moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist");
  740. }
  741.  
  742. menulist[editable] {
  743.   -moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-editable");
  744. }
  745.  
  746. menulist[type="description"] {
  747.   -moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-description");
  748. }
  749.  
  750. html|*.menulist-editable-input {
  751.   -moz-appearance: none !important;
  752. }
  753.  
  754. menulist > menupopup > menuitem {
  755.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic-noaccel");
  756. }
  757.  
  758. dropmarker[type="menu"] {
  759.   -moz-binding: url("chrome://global/content/bindings/general.xml#dropmarker");
  760. }
  761.  
  762. /********** splitter **********/
  763.  
  764. splitter {
  765.   -moz-binding: url("chrome://global/content/bindings/splitter.xml#splitter");
  766. }
  767.  
  768. grippy {
  769.   -moz-binding: url("chrome://global/content/bindings/splitter.xml#grippy");
  770. }
  771.  
  772. .tree-splitter {
  773.   width: 0px;
  774.   max-width: 0px;
  775.   min-width: 0% ! important;
  776.   min-height: 0% ! important;
  777.   -moz-box-ordinal-group: 2147483646;
  778. }
  779.  
  780. /********** scrollbar **********/
  781.  
  782. /* Scrollbars are never flipped even if BiDI kicks in. */
  783. scrollbar {
  784.   direction: ltr;
  785. }
  786.  
  787. thumb 
  788. {
  789.   -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#thumb);
  790.   display: -moz-box !important;
  791. }
  792.  
  793. scrollbar, scrollbarbutton, scrollcorner, slider, thumb {
  794.   -moz-user-select: none;
  795. }
  796.  
  797. scrollcorner {
  798.   display: -moz-box !important;
  799. }
  800.  
  801. scrollcorner[hidden="true"] {
  802.   display: none !important;
  803. }
  804.  
  805. scrollbar[value="hidden"] {
  806.   visibility: hidden;
  807. }
  808.  
  809. /******** scrollbox ********/
  810.  
  811. scrollbox {
  812.   -moz-binding: url("chrome://global/content/bindings/scrollbox.xml#scrollbox");
  813.   /* This makes it scrollable! */
  814.   overflow: hidden;
  815. }
  816.  
  817. arrowscrollbox {
  818.   -moz-binding: url("chrome://global/content/bindings/scrollbox.xml#arrowscrollbox");
  819. }
  820.  
  821. autorepeatbutton {
  822.   -moz-binding: url("chrome://global/content/bindings/scrollbox.xml#autorepeatbutton");
  823. }
  824.  
  825. /********** statusbar **********/
  826.  
  827. statusbar 
  828. {
  829.   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
  830. }
  831.  
  832. statusbarpanel {
  833.   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel");
  834. }
  835.  
  836. .statusbarpanel-iconic {
  837.   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-iconic");
  838. }
  839.  
  840. .statusbarpanel-iconic-text {
  841.   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-iconic-text");
  842. }
  843.  
  844. .statusbarpanel-menu-iconic {
  845.   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-menu-iconic");
  846. }
  847.  
  848. /********** spinbuttons ***********/
  849.  
  850. spinbuttons {
  851.   -moz-binding: url("chrome://global/content/bindings/spinbuttons.xml#spinbuttons");
  852. }
  853.  
  854. /********** stringbundle **********/
  855.  
  856. stringbundleset {
  857.   -moz-binding: url("chrome://global/content/bindings/stringbundle.xml#stringbundleset");
  858.   visibility: collapse;
  859. }
  860.  
  861. stringbundle {
  862.   -moz-binding: url("chrome://global/content/bindings/stringbundle.xml#stringbundle");
  863.   visibility: collapse;
  864. }
  865.  
  866. /********** dialog **********/
  867.  
  868. dialog {
  869.   -moz-binding: url("chrome://global/content/bindings/dialog.xml#dialog");
  870.   -moz-box-orient: vertical;
  871. }
  872.  
  873. dialogheader {
  874.   -moz-binding: url("chrome://global/content/bindings/dialog.xml#dialogheader");
  875. }
  876.  
  877. /********* page ************/
  878.  
  879. page {
  880.   -moz-box-orient: vertical;
  881. }
  882.  
  883. /********** wizard **********/
  884.  
  885. wizard {
  886.   -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard");
  887.   -moz-box-orient: vertical;
  888.   width: 40em;
  889.   height: 30em;
  890. }
  891.  
  892. wizardpage {
  893.   -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizardpage");
  894.   -moz-box-orient: vertical;
  895.   overflow: auto;
  896. }
  897.  
  898. .wizard-header {
  899.   -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard-header");
  900. }
  901.  
  902. .wizard-buttons {
  903.   -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard-buttons");
  904. }
  905.  
  906. /********** preferences ********/
  907.  
  908. prefwindow {
  909.   -moz-binding: url("chrome://global/content/bindings/preferences.xml#prefwindow");  
  910.   -moz-box-orient: vertical;
  911. }
  912.  
  913. prefpane {
  914.   -moz-binding: url("chrome://global/content/bindings/preferences.xml#prefpane");  
  915.   -moz-box-orient: vertical;
  916.   opacity: 0.0;
  917. }
  918.  
  919. prefpane[selected="true"] {
  920.   opacity: 0.0;
  921. }
  922.  
  923. prefwindow[animate="off"] > prefpane,
  924. prefwindow[animate="off"] > prefpane[selected="true"],
  925. prefwindow[type="child"] > prefpane,
  926. prefwindow[type="child"] > prefpane[selected="true"] {
  927.   opacity: 1.0;
  928. }
  929.  
  930. prefwindow > .paneDeckContainer {
  931.   overflow: hidden;
  932. }
  933.  
  934. prefpane > .content-box {
  935.   overflow: hidden;
  936. }
  937.  
  938. prefwindow[type="child"] > prefpane > .content-box {
  939.   -moz-box-flex: 1;
  940.   overflow: -moz-hidden-unscrollable;
  941. }
  942.  
  943. preferences {
  944.   -moz-binding: url("chrome://global/content/bindings/preferences.xml#preferences");
  945.   visibility: collapse;
  946. }
  947.  
  948. preference {
  949.   -moz-binding: url("chrome://global/content/bindings/preferences.xml#preference");  
  950.   visibility: collapse;
  951. }
  952.  
  953. radio[pane] {
  954.   -moz-binding: url("chrome://global/content/bindings/preferences.xml#panebutton") !important; 
  955.   -moz-box-orient: vertical;
  956.   -moz-appearance: none;
  957.   -moz-box-align: center;
  958. }
  959.  
  960. prefwindow[chromehidden~="toolbar"] .chromeclass-toolbar
  961. {
  962.   display: none;
  963. }
  964.  
  965. /********** expander ********/
  966.  
  967. expander {
  968.   -moz-binding: url("chrome://global/content/bindings/expander.xml#expander");
  969.   -moz-box-orient: vertical;
  970. }
  971.  
  972.  
  973. /********** Rich Listbox ********/
  974.  
  975. richlistbox {
  976.   -moz-binding: url('chrome://global/content/bindings/richlistbox.xml#richlistbox');
  977.   -moz-user-focus: normal;
  978.   -moz-appearance: listbox;
  979. }
  980.  
  981. richlistitem {
  982.   -moz-binding: url('chrome://global/content/bindings/richlistbox.xml#richlistitem');
  983. }
  984.  
  985.